package com.runa.monitor.platinterface.base.async;

/**
 * @author zhuj
 */
public interface AsyncUnit<T> {

    enum AsyncState {
        //正确
        Correct,
        //错误
        Error,
        //未知
        Unknown
    }

    T get(AsyncState state);

    boolean ok();

}
